//
// Created by zing on 3/28/2020.
//

#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>

int main(int argc, char *argv[]) {
    char *filename = "test.txt";
    if (creat(filename,0777) < 0){
        perror("create file error");
        return EXIT_FAILURE;
    }
    printf("create file success");
    return EXIT_SUCCESS;
}
